Ext.define('AM.view.panel.StartPanel' ,{
    extend: 'Ext.form.Panel',
    alias : 'widget.startpanel',
    id: 'startpanel',
    layout: 'anchor',
    //width: 400,
    //defaults: {
    //    anchor: '100%'
    //},
    html:'<html>'+
        '<head><title>Prima mea pagina Web in HTML</title>'+
        '</head>'+
        '<body>'+
        'Salut!'+
        '<p>Program de evidenta a banilor</p>'+
        '<p>Va rugam sa va logati</p>'+
        '</body>'+
        '</html>',
    	
    
    /*initComponent: function() {
    	this.tbar= [{
            xtype:'splitbutton',
            text: '<b>Menu</b>',
            iconCls: 'add16',
            menu: [{text: 'Info'},'-',
                   {text: 'Chenge'},'-',
                   {text: 'Exit'}]
        },'-',{
            text: 'Cut',
            iconCls: 'add16'
        },{
            text: 'Copy',
            iconCls: 'add16'
        },{
            text: 'Paste',
            iconCls: 'add16'
        },'-',{ xtype: 'tbfill' },{
            text: '<b>Ieşire</b>',
            iconCls: 'add16',
            icon:'images/logout.png'
        }],
        this.callParent();
    	
    },
    
    
/*insertRow: function(){
console.log('test');
},

onAddClick: function () {

},*/
/*onSaveClick: function () {
    this.editingPlugin.cancelEdit();
    this.getStore().sync();
}*/
});